/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.click.app.dao;

import com.click.app.model.Cart;
import com.click.app.model.Product;
import com.click.app.model.User;
import java.util.List;

/**
 *
 * @author arnold
 */
public interface CartDao extends GenericDao<Cart, Long> {

        public List<Cart> findById(Long id);
        public List<Cart> findCartByProduct(Product product);
        public List<Cart> findCartByUser(User user);
    }
